package com.ocm.pay.feign;

import com.ocm.core.tool.api.R;
import com.ocm.pay.bo.PayOrderBO;
import com.ocm.pay.bo.RefundOrderBO;
import org.springframework.stereotype.Component;

/**
 * Author:   hqy
 * Date:     2021/12/3 12:45
 * Description:
 */
@Component
public class IPayClientFallback implements IPayClient {

	@Override
	public R deal(PayOrderBO payOrderBO) {
		return R.fail("连接超时");
	}

	@Override
	public R refund(RefundOrderBO refundOrderBO) {
		return  R.fail("连接超时");
	}

	@Override
	public R receiving(Long orderId) {
		return R.fail("连接超时");
	}
}
